package com.atguigu.gulimall.auth.Feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: gulimall
 * @description:
 * @author: 江天赐
 * @create: 2022-08-10 22:03
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {
    //发送验证码
    @GetMapping("/msm/send/{phone}")
    R sendCode(@PathVariable String phone);
}
